package com.panfeng.xcloud.component.ocr.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * app ocr配置类
 *
 * @author xiaobo
 * @date 2019-05-22
 */
@Configuration
@ConditionalOnExpression("!'${aliyun.ocr-verification}'.isEmpty()")
@ConfigurationProperties(prefix = "aliyun.ocr-verification")
@Data
public class AppOcrVerPropConfig {

    private String regionId;

    private String accessKeyId;

    private String accessKeySecret;

    private String biz;

}
